<%@ Page Language="VB" MasterPageFile="~/MasterPage.master" Theme="island" AutoEventWireup="false" CodeFile="UserAdmin.aspx.vb" Inherits="Admin_UserAdmin" title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="RightContent" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="maincontent" Runat="Server">
   <h2>User Administration</h2>
   Total Users Registered :
   <asp:Label ID="lblTotalUsers" runat="server" Text="Label"></asp:Label><br />
   Users online now:
   <asp:Label ID="lblUsersOnline" runat="server" Text="Label"></asp:Label><br />
   <br />
   Find By Email<asp:TextBox ID="txtFind" runat="server"></asp:TextBox>
   <asp:Button ID="btnFind" runat="server" Text="Find" /><br />
   <br />
   Click on one of the following links to display all users whose name begins with
   that letter:<br />
   &nbsp;<br />
   <asp:Repeater ID="LetterList" runat="server">
      <ItemTemplate>
         <asp:LinkButton ID="LinkButton1" runat="server" Text='<%# container.dataitem %>' CommandArgument='<%# container.dataitem %>'/>&nbsp;&nbsp;</ItemTemplate>
   </asp:Repeater>
   <br />
   <br />
   <asp:GridView ID="gvUsers" runat="server" AutoGenerateColumns="False" DataKeyNames="username" BackColor="White" BorderColor="#3366CC" BorderStyle="None" BorderWidth="1px" CellPadding="4" >
      <Columns>
         <asp:BoundField DataField="username" HeaderText="User Name" />
         <asp:HyperLinkField DataNavigateUrlFields="email" DataNavigateUrlFormatString="mailto:{0}" DataTextField="email" HeaderText="Email" />
         <asp:BoundField DataField="CreationDate" HeaderText="Created" />
         <asp:BoundField DataField="LastActivityDate" HeaderText="Last Activity" />
         <asp:CheckBoxField DataField="IsApproved" HeaderText="Approved" />
         <asp:HyperLinkField DataNavigateUrlFields="username" DataNavigateUrlFormatString="EditUser.aspx?username={0}"
            HeaderText="Edit" Text="&lt;img src='../images/edit.gif' border=0 /&gt;" />
         <asp:CommandField ButtonType="Image" DeleteImageUrl="~/images/Delete.gif" ShowDeleteButton="True" />
      </Columns>
      <EmptyDataTemplate>
         No users Match Search Criteria
      </EmptyDataTemplate>
       <FooterStyle BackColor="#99CCCC" ForeColor="#003399" />
       <RowStyle BackColor="White" ForeColor="#003399" />
       <SelectedRowStyle BackColor="#009999" Font-Bold="True" ForeColor="#CCFF99" />
       <PagerStyle BackColor="#99CCCC" ForeColor="#003399" HorizontalAlign="Left" />
       <HeaderStyle BackColor="#003399" Font-Bold="True" ForeColor="#CCCCFF" />
   </asp:GridView>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="adBox" Runat="Server">
</asp:Content>

